<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of Feed
 *
 * @author Fabio
 */
class Feed {
    private $idUser;
    private $id;
    private $visto = FALSE; // = array();
    private $idTabela;
    private $nomeTabela;
    
    public function __construct($id, $idUser,$visto, $idTabela, $nomeTabela) {
        $this->id = $id;
		$this->idUser = $idUser;
        $this->visto = $visto;
        $this->idTabela = $idTabela;
        $this->nomeTabela = $nomeTabela;
    }
    
    public function getId(){
        return $this->idFeed;
    }
    
    public function getIdUser(){
        return $this->idUser;
    }
    
    public function getVisto(){
        return $this->visto;
    }
    
    public function setVisto($visto) {
        $this->visto = $visto;
    }
    
    /*public function addExercicio($exercicio){
        $this->exercicios[$this->idTabela] = $exercicio;
        $this->idTabela++;
    }*/
    
    public function getNomeTabela(){
        return $this->nomeTabela;
    }
	
    public function getidTabela(){
        return $this->idTabela;
    }
}

?>
